$OpenBSD: patch-src_dns_res_c,v 1.1.1.1 2014/09/25 19:32:37 sthen Exp $
--- src/dns/res.c.orig	Thu Aug 16 10:43:50 2012
+++ src/dns/res.c	Mon Mar 10 17:29:42 2014
@@ -60,7 +60,8 @@ int get_resolv_dns(char *domain, size_t dsize, struct 
 	*n = i;
 
  out:
+#if !defined (OPENBSD)
 	res_close();
-
+#endif
 	return err;
 }
